package de.urw.core;

import com.threed.jpct.SimpleVector;

public class URWnode
{
	public static int INITIAL_Y;	//standard-y der vektoren
	public int id;
	public int x;
	public int y;
	public String type;
	public String name;
	public SimpleVector vector;
	
	public URWnode(int id, int x, int y, String type, String name)
	{
		this.id = id;
		this.x = x;
		this.y = y;
		this.type = type;
		this.name = name;
		this.vector = new SimpleVector(x, INITIAL_Y, y);
	}
	
	public URWnode(int id, int x, int y)
	{
		this.id = id;
		this.x = x;
		this.y = y;
		this.type = "";
		this.name = "";
		this.vector = new SimpleVector(x, INITIAL_Y, y);
	}
	
	public URWnode(int id, float x, float y)
	{
		this.id = id;
		this.x = (int)x;
		this.y = (int)y;
		this.type = "";
		this.name = "";
		this.vector = new SimpleVector(x, INITIAL_Y, y);
	}
}
